import torch
import torch.nn as nn


class Discriminator(nn.Module):
    def __init__(self):
        super(Discriminator, self).__init__()
        self.l1 = nn.Linear(10, 10)
        self.sig = nn.Sigmoid()

    def forward(self, melody):
        l1out = self.l1(melody)
        out = self.sig(l1out)
        return out
